<script setup>
defineProps({
  title: {
    type: String,
    default: ''
  }
})
</script>

<template>
  <div class="headerTitle">
    <span>{{ title }}</span>
  </div>
</template>

<style scoped lang="scss">
.headerTitle {
  width: 3.86rem;
  height: 0.16rem;
  text-align: left;
  background: url('../assets/images/home/title.png');
  background-size: 100%;
  span {
    position: absolute;
    top: 0;
    font-size: 0.2rem;
    letter-spacing: 1px;
  }
}
</style>
